<?php

namespace App;

use Illuminate\Foundation\Auth\User as Authenticatable;

class Admin extends Authenticatable
{
    //自动填充白名单
    protected $fillable = [
        'name', 'email', 'password',
    ];
    //转换成数组或json 时隐藏的属性
    protected $hidden = [
        'password', 'remember_token',
    ];
}
